package com.adcc.ags.gms.user.entity;

import com.adcc.ags.gms.core.entity.BaseEntity;

import java.util.List;

/**
 * 网关用户实体
 */
public class GWUser extends BaseEntity {

    // ID
    private Long id;

    // 用户ID
    private String userId;

    // 用户名称
    private String userName;

    // 用户IP
    private String userIP;

    // 下行转发(0:不全部转发,1:全部转发)
    private Integer downLinkForward;

    // 发送队列ID
    private Long sendQueueId;

    // 发送队列名称
    private String sendQueueName;

    // 接收队列ID
    private Long recvQueueId;

    // 接收队列名称
    private String recvQueueName;

    // 下行报文(0:原文,1:拆分结果)
    private Integer downlinkMsg;

    // 状态(0:下线,1:上线)
    private Integer status;

    // 用户路由列表
    private List<Route> routes;

    /**
     * 构造函数
     */
    public GWUser() {
    }

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getUserId() {
        return userId;
    }

    public void setUserId(String userId) {
        this.userId = userId;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public String getUserIP() {
        return userIP;
    }

    public void setUserIP(String userIP) {
        this.userIP = userIP;
    }

    public Integer getDownLinkForward() {
        return downLinkForward;
    }

    public void setDownLinkForward(Integer downLinkForward) {
        this.downLinkForward = downLinkForward;
    }

    public Long getSendQueueId() {
        return sendQueueId;
    }

    public void setSendQueueId(Long sendQueueId) {
        this.sendQueueId = sendQueueId;
    }

    public String getSendQueueName() {
        return sendQueueName;
    }

    public void setSendQueueName(String sendQueueName) {
        this.sendQueueName = sendQueueName;
    }

    public Long getRecvQueueId() {
        return recvQueueId;
    }

    public void setRecvQueueId(Long recvQueueId) {
        this.recvQueueId = recvQueueId;
    }

    public String getRecvQueueName() {
        return recvQueueName;
    }

    public void setRecvQueueName(String recvQueueName) {
        this.recvQueueName = recvQueueName;
    }

    public Integer getDownlinkMsg() {
        return downlinkMsg;
    }

    public void setDownlinkMsg(Integer downlinkMsg) {
        this.downlinkMsg = downlinkMsg;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public List<Route> getRoutes() {
        return routes;
    }

    public void setRoutes(List<Route> routes) {
        this.routes = routes;
    }
}
